package ModelLayer;

public class Product
{
    private int ProductID;
    private String Name;
    private double PurchasePrice;
    private double SalesPrice;
    private double RentPrice;
    private String CountryOfOrigin;
    private int MinStock;
    private int MaxStock;
    private String Type;
    private int Quantity;
    private int SupplierID;
    private int CategoryID;

    public Product()
    {
    }

    public Product(String name, double purchasePrice, double salesPrice, double rentPrice, String countryOfOrigin, int minStock, int maxStock, String type, int quantity)
    {
        this.Name = name;
        this.PurchasePrice = purchasePrice;
        this.SalesPrice = salesPrice;
        this.RentPrice = rentPrice;
        this.CountryOfOrigin = countryOfOrigin;
        this.MinStock = minStock;
        this.MaxStock = maxStock;
        this.Type = type;
        this.Quantity = quantity;
    }

    public String getCountryOfOrigin()
    {
        return CountryOfOrigin;
    }

    public void setCountryOfOrigin(String countryOfOrigin)
    {
        this.CountryOfOrigin = countryOfOrigin;
    }

    public int getMaxStock()
    {
        return MaxStock;
    }

    public void setMaxStock(int maxStock)
    {
        this.MaxStock = maxStock;
    }

    public int getMinStock()
    {
        return MinStock;
    }

    public void setMinStock(int minStock)
    {
        this.MinStock = minStock;
    }

    public String getName()
    {
        return Name;
    }

    public void setName(String name)
    {
        this.Name = name;
    }

    public int getProductID()
    {
        return ProductID;
    }

    public double getPurchasePrice()
    {
        return PurchasePrice;
    }

    public void setPurchasePrice(int purchasePrice)
    {
        this.PurchasePrice = purchasePrice;
    }

    public int getQuantity()
    {
        return Quantity;
    }

    public void setQuantity(int quantity)
    {
        this.Quantity = quantity;
    }

    public double getRentPrice()
    {
        return RentPrice;
    }

    public void setRentPrice(int rentPrice)
    {
        this.RentPrice = rentPrice;
    }

    public double getSalesPrice()
    {
        return SalesPrice;
    }

    public void setSalesPrice(int salesPrice)
    {
        this.SalesPrice = salesPrice;
    }

    public String getType()
    {
        return Type;
    }

    public void setType(String type)
    {
        this.Type = type;
    }
}
